<?php if(!defined('BASEPATH')) exit ('No direct script access allowed');
class Dashboard extends CI_Controller{
	function __construct(){
		parent::__construct();
	}
	function index(){
		$this->load->view('admin/pages/dashboard');
	}
	function action(){
		$action = trim($_POST['action']) ? @$_POST['action'] : @$_GET['action'];
		switch($action){
			default:
				echo "{ failure : true }";
			break;
		}
	}
}
?>